<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper th:namespace="|${basePackage}.mapper.${beanModel}.${beanName}Mapper|">
    <resultMap id="BaseResultMap" th:type="|${basePackage}.bean.${beanModel}.${beanName}|">
        <result column="id" property="id" jdbcType="BIGINT"/>
        <th:block th:each="item : ${beanFieldList}" th:if="${item.columnJava} != 'id'">
            <result th:column="${item.columnEng}" th:property="${item.columnJava}" th:jdbcType="${item.jdbcType}"/>
        </th:block>
    </resultMap>
    <sql id="Base_Column_List">
        id
        <th:block th:each="item : ${beanFieldList}" th:if="${item.columnJava} != 'id'">, [[${item.columnEng}]]
        </th:block>
    </sql>
</mapper>